<%@ page language="java" import="java.util.*,com.ncp.model.biz.product.*,com.ncp.model.dao.*,com.ncp.model.entity.product.*" pageEncoding="utf-8"%>

<%
request.setCharacterEncoding("UTF-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
ProductUpdateBean pub = (ProductUpdateBean)request.getAttribute("pub");%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="pages/fckeditor/fckeditor.js"></script>
  </head>
  
  <body>
  
  <div id="contain">
  
		<div id="user">
		</div>
  		<div class="con content_2" style=" float:left; width:400px; padding:16px 0 0 25px;">
		<p style="margin:0; line-height:30px;">原来内容:</p>	
	<%=pub.getValue() %>
		</div>
		<form style="float:left;" action="NewsAdd?type=detaildescription&ProduuctID=<%=pub.getProductID() %>" method="post" enctype="multipart/form-data">
		
		<div class="con content_2">
			<p style=" margin:20px; color:#666;">产品详细信息修改</p>
			<div style="width:400px; height:560px; margin:20px; ">
		<script type="text/javascript">
				var oFCKeditor = new FCKeditor('cont');
				http://localhost:8080/fckeditor
				oFCKeditor.BasePath = "/NCP/pages/fckeditor/";
				oFCKeditor.Width="400";
				oFCKeditor.Height="500";
				oFCKeditor.Value="编辑您的内容…";
				oFCKeditor.ToolbarSet="ncp";
				oFCKeditor.Config["CustomConfigurationsPath"] = "/NCP/pages/fckeditor/myconfig.js"
				oFCKeditor.Create();
			 </script><br/>
		
	
			</div>
			<p style="text-align:center; width:400px;">
			<input type="submit" value="确认" />
			<input type="reset" value="重置" />
			</p>
			
		</div>
		</form>
	</div>
  
    
  </body>
</html>